<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@page import="com.mmy.domain.sys.TSysOrg"%>
<%@page import="com.mmy.domain.bidtender.TBidTender"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>
	
		<title>我的订单</title>
	</head>
	<body>
<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/FrontHeader.jsp"></jsp:include>
<div id="menu-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1><label>我的订单</label></h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					<nav class="breadcrumb" >
						<a href="myscenicreserve" >我的预留</a> |
				<a href="myscenicorder" >我的订单</a> |
					<a href="myscenicrefund" >我的退单</a> |
						<a href="mytender" >我的标书</a> 
				<hr class="breadcrumb-hr" color=#F9F6E5 SIZE=3></hr>
					<a href="myscenicorder" >景点电子票</a> |
				<a href="mylineorder" >线路</a> |
					<a href="myhotelorder" >酒店房间</a> |
						<a href="myrestaurantorder" >餐馆</a> |
					<a href="mycarorder" >车辆</a> |
						<a href="mytrainorder" >专列</a> |
							<a href="myplaneorder" >机票</a> |
						<a href="myshiporder" >船票</a> |
							<a href="myvisaorder" >签证</a> 
					</nav>
						<!-- 投标信息展示 -->
					<div class="information" >
					
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>车辆订单信息</label>
						</h4>
						<div class="input-container">
						
							<div class="select-condition">

								<div class="at-float-right">
							<input type="button" class="btn " value="申请退单"  onclick="carApplyCBack()"/>
							</div>
						</div>
						<table class="info-table">
							<tr>
								<th>
									<label>选择</label>
									</th>
								 
								<th><label>订单编号</label></th>
								<th><label>订单人名称</label></th> 
								<th><label>订单日期</label></th>
								
							</tr>
							<!-- 循环显示每个用户的信息 用jstl-->
      					  <c:forEach items="${lstCarOrder}" var="lstCarOrder" varStatus="status">
           				 	<tr >
            			   		<td ><input type="radio" name="radioThis" value="${lstCarOrder.getID()}"  /></td> 
			              
				                <td ><a href="mycarinfo?iID=${lstCarOrder.getID()}"><label>${lstCarOrder.getOrderID()}</label></a></td>
				                <td ><label>${lstCarOrder.getOrderName()}</label></td>
				               
						<td>
						<fmt:formatDate value='${lstCarOrder.getOrderDate()}' pattern='yyyy-MM-dd'/>
						</td>
						</tr>
						</c:forEach>
						</table>
						<select class="input-select-vlign" name="pageSize" onchange="carOrderPageSize(this.options[this.options.selectedIndex].value)">
							<option style="display: none;">${iPageSize}</option>
							<option value="20">20</option>
							<option value="50">50</option>
							<option value="100">100</option>
							<option value="200">200</option>
						</select> 
							<a href="mycarorder?pageNumber=1&pageSize=${iPageSize}">首页</a>
						
						<c:choose>
							<c:when test="${iPageNo == 1}">
						
							</c:when>
							<c:otherwise>
								<a href="mycarorder?pageNumber=${iPageNo-1}&pageSize=${iPageSize}">上一页</a>
							</c:otherwise>
						
						</c:choose>
						<c:choose>
							<c:when test="${iPageNo == iMaxPage}">
						
							</c:when>
							<c:otherwise>
								<a href="mycarorder?pageNumber=${iPageNo+1}&pageSize=${iPageSize}">下一页</a>
							</c:otherwise>
						
						</c:choose>
							<a href="mycarorder?pageNumber=${iMaxPage}&pageSize=${iPageSize}">尾页</a>
						
						</div>	
					</div>
					<!-- 招标基本信息展示结束 -->
					
				</section>
			</article>
			
		</main>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Script Embed Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Slider -->
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
		<script>
			new GridScrollFx( document.getElementById( 'news-grid' ), {
				viewportFactor : 0.4
			} );
		</script>

</body>

</html>